package com.trendit.print.sdk.models.soundbox;

import com.alibaba.fastjson.JSON;
import com.trendit.print.sdk.DaquObject;
import com.trendit.print.sdk.DaquRequest;

import java.util.List;

public class DeleteSoundBoxRequest implements DaquRequest<DeleteSoundBoxResponse> {

    private String bizContent;

    public DeleteSoundBoxRequest(List<String> deviceNos) {
        this.bizContent = JSON.toJSONString(deviceNos);
    }

    @Override
    public String getApiMethodName() {
        return "openapi.deleteSoundBox";
    }

    @Override
    public String getApiVersion() {
        return "1.0";
    }

    @Override
    public String getNotifyUrl() {
        return null;
    }

    @Override
    public String getApiMethodURL() {
        return "/openapi/speaker/delete_device";
    }

    @Override
    public Class<DeleteSoundBoxResponse> getResponseClass() {
        return DeleteSoundBoxResponse.class;
    }

    @Override
    public DaquObject getBizModel() {
        return null;
    }

    @Override
    public String getBizContent() {
        return bizContent;
    }

}
